// JavaScript Document
function validate(){
	
	var cat = document.getElementById('sltSubgr');
	var year = document.getElementById('sltYr');
	var month= document.getElementById('sltMon');
	
	var cats = document.getElementById('sltSubgr').value;
	var years = document.getElementById('sltYr').value;
	var months= document.getElementById('sltMon').value;
	
	
		if(madeSelection(cat, "Select the Subject Code"))
		{
	       if(madeSelection(year, "Select the Year"))
		   	{
			   if(madeSelection(month, "Select the Month"))
			   		{
			  			//return true;
						var queryString ="?subgr=" + cats +"&year="+years+ "&month=" +months ;
	                    window.open("../report/individual_income.php"+queryString,'_blank');
			     	}
					return false;
			 }
											
			 return false;     
	      }
		return false;
		
}